<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>文档中心-其它</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/js/plugin/datetimepicker/jquery.datetimepicker.min.css">

</head>
<body>
<!-- content-body -->
<div class="main-inner">
    <div class="content-inner" style="padding-bottom:30px">
        <div class="meta-head">
            <div class="h3 w-15"><i class="lsk-qt-icon"></i>其它 >
                <c:if test="${not empty pipeLine}">编辑</c:if> <c:if test="${empty pipeLine}">上传</c:if>
            </div>
        </div>
        <div class="zy-pick-line">
            <div class="zy-form-line">
                <div class="zy-input-group w-30">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>管道名称</div>
                    <div class="zy-select-inner">
                        <blockquote id="JQ_pipeline" class="bk-select"><abbr></abbr></blockquote>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-30">
                    <div class="zy-input-meta">管段名称</div>
                    <div class="zy-select-inner">
                        <blockquote id="JQ_segment" class="bk-select"></blockquote>
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-30">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>文档名称:</div>
                    <div class="zy-input-inner w-100">
                        <input id="JQ_Detection_unit" data-v="文档名称" class="zy-i-input" maxlength="20" placeholder="输入文档名称" value="${pipeLine.name}"  value="" type="text">
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line">
                <div class="zy-input-group w-30">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>上传日期:</div>
                    <div class="zy-input-inner">
                        <input id="JQ_power_startDate" data-v="上传日期" type="text" value='<fmt:formatDate value="${pipeLine.date}" pattern="yyyy-MM-dd" />' class="zy-i-input zy-i-input-date">
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-30">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>上传文件:</div>
                    <div class="zy-input-inner w-100">
                        <input id="up-file" class="zy-i-input" readonly="readonly" value="${pipeLine.fileRealName}${pipeLine.fileType}"  value="" type="text">
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-30">
                    <div class="zy-input-meta">&nbsp;</div>
                    <div class="zy-button-inner">
                        <button class="zy-button zy-search" id="JQ_com_upload" data-type="docPipeLine"><i class="zy-search-icon"></i>浏览</button>
                    </div>
                </div>
            </div>
            <div class="clear"></div>
            <input type="hidden" id="type" value="${type}">
            <input type="hidden" id="basic_type" value="${basicType}">
            <input type="hidden" id="comId" value="${pipeLine.id}">
            <input type="hidden" id="attachmentId" value="${pipeLine.attachmentId}" /> <%-- 附件id --%>
            <input type="hidden" id="pipeLineId" value="${pipeLine.pipeLineId}" /> <%-- 管道id --%>
            <input type="hidden" id="pipeLineName" value="${pipeLine.pipeLineName}" /> <%-- 管道name --%>
            <input type="hidden" id="pipeSegmentId" value="${pipeLine.pipeSegmentId}" /> <%-- 管段id --%>
            <input type="hidden" id="pipeSegmentName" value="${pipeLine.segmentName}" /> <%-- 管段name --%>
        </div>
        <div class="zy-form-line lsk-m20 text-r">
            <button id="JQ_save" class="zy-button zy-export" type="button" data-value="03"><i class="zy-submit-icon"></i>保存</button>&nbsp;&nbsp;&nbsp;
            <button id="JQ_goback" class="zy-button zy-goback" type="button"><i class="zy-goback-icon"></i>返回</button>
        </div>

    </div>
</div>

<div class="zy-action-box plan-box">
    <form id="JQ_plan_form">
        <div class="zy-action-title">
            <span class="zy-action-span"></span>
            <input type="hidden" value="" id="JQ_plan_id">
        </div>
        <div class="zy-action-inner">
            <div class="zy-form-line">
                <div class="up-name">上传名字</div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line">
                <div class="up-process"><em></em></div>
                <span class="process-no">50%</span>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line t-r">
                <br>
                <button id="JQ_action_yes_btn" class="zy-button zy-submit" type="button">确认</button>&nbsp;&nbsp;&nbsp;
                <button id="JQ_action_no_btn" class="zy-button" type="button">取消</button>
            </div>
        </div>
    </form>
</div>

<!-- plugin -->
<script src="${pageContext.request.contextPath}/static/js/plugin/plupload/plupload.full.min.js"></script>
<script src="${pageContext.request.contextPath}/static/js/plugin/datatables/js/jquery.dataTables.min.js"></script>
<script src="${pageContext.request.contextPath}/static/js/plugin/datetimepicker/jquery.datetimepicker.full.min.js"></script>
<!-- ui -->
<script src="${pageContext.request.contextPath}/static/js/ui/ui-main.js"></script>
<!-- base -->
<script src="${pageContext.request.contextPath}/static/js/controller/base/base.controller.js"></script>
<!-- api -->
<script src="${pageContext.request.contextPath}/static/js/controller/api/docCenter.api.js"></script>
<!-- controller -->
<script src="${pageContext.request.contextPath}/static/js/controller/docCenter/pipelineEdit.controller.js"></script>
</body>
</html>